projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa99b15
)
(Fvisited_file_modtime): Use make_time.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 3 Aug 2007 03:38:58 +0000
(
03:38
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 3 Aug 2007 03:38:58 +0000
(
03:38
+0000)
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index 3859f9e35aa8e9bdf468ce861630cfb8bf9771aa..1962035e0bda8d36bd385bfcd53597b8ae12e1cd 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-5692,11
+5692,9
@@
file modification time, this function returns 0.
See Info node `(elisp)Modification Time' for more details. */)
()
{
- Lisp_Object tcons;
- tcons = long_to_cons ((unsigned long) current_buffer->modtime);
- if (CONSP (tcons))
- return list2 (XCAR (tcons), XCDR (tcons));
- return tcons;
+ if (! current_buffer->modtime)
+ return make_number (0);
+ return make_time ((time_t) current_buffer->modtime);
}
DEFUN ("set-visited-file-modtime", Fset_visited_file_modtime,